package edu.nuist.studentadmin;

import edu.nuist.studentadmin.dao.StudentDao;
import edu.nuist.studentadmin.dao.impl.StudentDaoImpl;
import edu.nuist.studentadmin.model.Student;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        StudentDao sdao = new StudentDaoImpl();
        List<Student> allStudents = sdao.getAllStudents();
        for (Student s:allStudents){
            System.out.println(s);
        }
    }
}
